﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyServer.Common;

namespace ScreenMonitor
{

    public delegate void OperateCommandEventHandler(object sender,OperateCommandEventArgs e);

    /// <summary>
    /// 为命令处理事件提供数据存储
    /// </summary>
    public class OperateCommandEventArgs:EventArgs
    {
        /// <summary>
        /// 要操作的数据包
        /// </summary>
        public DataPackageCollection Package { get;private set; }
        public OperateCommandEventArgs(DataPackageCollection pkg)
        {
            this.Package = pkg;
        }
    }
}
